package cn.itsource.pethome.org.service;

import cn.itsource.pethome.basic.service.IBaseService;
import cn.itsource.pethome.org.domain.Department;
import cn.itsource.pethome.org.util.DepartmentQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {


    /**
     * 删除
     * @param id
     */
    void delete(Long id);

    /**
     * 查询一条部门信息
     * @param id
     * @return
     */
    Department loadOne(Long id);

    List<Department> loadParentAll();
}
